import request from '../utils/request.js'

// 动态
export function trend_page(data) {
	return request.get('api/sns/app/trend/page', data)
}

export function trend_detail(data) {
	return request.get('/api/sns/app/trend/detail', data)
}

export function trend_myself(data) {
	return request.get('api/sns/app/trend/myself', data)
}

export function trend_publish(data) {
	return request.post('api/sns/app/trend/publish', data)
}

export function trend_praise(data) {
	return request.get('api/sns/app/trend/praise', data)
}

export function trend_delete(data) {
	return request.get('api/sns/app/trend/delete', data)
}

// 话题/圈子
export function talk_page(data) {
	return request.get('/api/app/talk/page', data)
}

export function talk_follow(data) {
	return request.get('/api/app/talk/follow', data)
}

export function talk_detail(data) {
	return request.get('/api/app/talk/detail', data)
}

// 用户账号
export function account_follow(data) {
	return request.get('/api/app/account/follow', data)
}

export function account_info(data) {
	return request.get('/api/app/account/info', data)
}

export function account_myInfo(data) {
	return request.get('/api/app/account/myInfo', data)
}

// 评论
export function comment_page(data) {
	return request.get('api/sns/app/comment/page', data)
}
export function comment_send(data) {
	return request.post('api/sns/app/comment/send', data)
}

export function comment_delete(data) {
	return request.get('api/sns/app/comment/delete', data)
}

// 互动消息
export function interactive_unread(data) {
	return request.get('/api/app/msg/interactive/unread', data)
}